﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WMSSystem.YSL.Dto.LoginDto
{
    /// <summary>
    /// 分页获取用户列表输入参数
    /// </summary>
    public class GetUserListPagedInput : GetUserListInput
    {
        /// <summary>
        /// 页码（从1开始）
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 每页大小
        /// </summary>
        public int PageSize { get; set; } = 10;

        /// <summary>
        /// 排序字段
        /// </summary>
        public string Sorting { get; set; } = "CreationTime";

        /// <summary>
        /// 是否降序
        /// </summary>
        public bool IsDescending { get; set; } = true;
    }
}
